import { Injectable } from "@nestjs/common";
import { LogEntity } from "src/Entity/log.entity";

@Injectable()
export class LogService{

    async findAllLog(orderId: number): Promise<LogEntity[]>{
        // const order = 
        return LogEntity.find({where:{orderId: orderId}});
    }
}